import {createRouter, createWebHistory} from "vue-router";

import Login from "@/page/Login.vue";
import Utils from "@/page/Utils";
import SshTerminals from "@/page/SshTerminals";
import MindMap from "@/components/MindMap";

const router = createRouter({
    history: createWebHistory(),
    routes: [
        { path: '/ui/login', component: Login },
        { path: '/ui/utils', component: Utils },
        { path: '/ui/ssh', component: SshTerminals },
        { path: '/ui/mind', component: MindMap },
        { path: '/', redirect: '/ui/login' }
    ]
});

export default router;